package com.storage.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 图片资源表 storage_image
 *
 * @author storage
 * @date 2019-08-18
 */
@ApiModel(value = "图片资源对象")
public class StorageImage implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 图片id
     */
    @ApiModelProperty(value = "图片id")
    private Long id;
    /**
     * 图片原名字
     */
    @ApiModelProperty(value = "图片原名字")
    private String sourceName;
    /**
     * uuid唯一名称
     */
    @ApiModelProperty(value = "uuid唯一名称")
    private String uuidName;
    /**
     * 图片创建人id
     */
    @ApiModelProperty(value = "图片创建人id")
    private Long createUserId;
    /**
     * 文件类型
     */
    @ApiModelProperty(value = "文件类型")
    private String type;
    /**
     * 关联产品Id
     */
    @ApiModelProperty(value = "关联产品Id")
    private Long linkProductId;
    /**
     * 关联商品Id
     */
    @ApiModelProperty(value = "关联商品Id")
    private Long linkGoodsId;
    /**
     * 文件路径
     */
    @ApiModelProperty(value = "文件路径")
    private String path;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setUuidName(String uuidName) {
        this.uuidName = uuidName;
    }

    public String getUuidName() {
        return uuidName;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPath() {
        return path;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLinkProductId() {
        return linkProductId;
    }

    public void setLinkProductId(Long linkProductId) {
        this.linkProductId = linkProductId;
    }

    public Long getLinkGoodsId() {
        return linkGoodsId;
    }

    public void setLinkGoodsId(Long linkGoodsId) {
        this.linkGoodsId = linkGoodsId;
    }
}
